using FwkLight.Domain.Repository;
using FwkLight.Persistence;

namespace FwkLight.Application
{
	public class BaseCreateTask<EntityType>: BaseSaveTask<EntityType>
	{
		public BaseCreateTask(IBaseRepo<EntityType> repository, INHUnitOfWorkProvider uowProvider) : base(repository, uowProvider)
		{
		}

		protected override void LoadEntity()
		{
			// do nothing, expect the entity to be created manually
		}
	}
}